/*
 * GameFinishedGameStateController.h
 *
 *  Created on: Jan 20, 2012
 *      Author: rudi
 */

#ifndef GAMEFINISHEDGAMESTATECONTROLLER_H_
#define GAMEFINISHEDGAMESTATECONTROLLER_H_
#include "IGameStateController.h"
#include "StaticDrawController.h"

/**
 * This class handles the events when the game is finished
 *
 * @see IGameStateController
 * @author Rudolf Heszele heszele@gmail.com
 * @version 1.0
 * @since 2012-03-08
 */
class GameFinishedGameStateController: public IGameStateController
{
	public:
		/**
		 * The default constructor draws the level which was played
		 */
		GameFinishedGameStateController();
		virtual ~GameFinishedGameStateController();

		// Methods inherited from Controller

		/**
		 * @see IController::handleMouseDown
		 */
		virtual void handleMouseDown(const wxPoint&);
		/**
		 * @see IController::handleMouseUp
		 */
		virtual void handleMouseUp(const wxPoint&);
		/**
		 * @see IController::handleMouseMotion
		 */
		virtual bool handleMouseMotion(const wxPoint&);
		/**
		 * @see IController::getBitmapToPaint
		 */
		virtual const wxBitmap& getBitmapToPaint() const;
		/**
		 * @see IController::getBitmapToDraw
		 */
		virtual wxBitmap& getBitmapToDraw();

		// Methods inherited from GameStateController

		/**
		 * @see IGameStateContrller::handleSocketConnection
		 */
		virtual void handleSocketConnection(wxSocketEvent& socketEvent);
		/**
		 * @see IGameStateContrller::handleSocketLost
		 */
		virtual void handleSocketLost(wxSocketEvent& socketEvent);
		/**
		 * @see IGameStateContrller::handleSocketInput
		 */
		virtual void handleSocketInput(wxSocketEvent& socketEvent);
		/**
		 * @see IGameStateContrller::handleSocketOutput
		 */
		virtual void handleSocketOutput(wxSocketEvent& socketEvent);

	private:
		/**
		 * This object handles the drawings during this state of the application
		 *
		 * @see LogoDrawController
		 */
		StaticDrawController mStaticDrawController;
};

#endif /* GAMEFINISHEDGAMESTATECONTROLLER_H_ */
